package com.zg.message.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 15:05
 */

@Data
@ApiModel
@NoArgsConstructor
public class MsgInfoVerifyReq extends AddReq {
    @ApiModelProperty(value = "验证码", required = true)
    @NotEmpty(message = "验证码不能为空")
    private String code;     // 内容
    @ApiModelProperty(value = "ID", required = true)
    @NotNull(message = "模ID不能为空")
    private Long id;    // 模板ID

}
